body {
    background-color: #ffffff;
    color: #000000;
    font-family: Arial, sans-serif;
    user-select: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.watermark-small {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50"><text x="50%" y="50%" fill="rgba(0, 0, 0, 0.1)" font-size="10" font-family="Arial" dy=".3em" text-anchor="middle" transform="rotate(-45)">9745745513</text></svg>') repeat;
    pointer-events: none;
    z-index: 1;
}

.watermark-large {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 100px;
    color: rgba(0, 0, 0, 0.2);
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
}

.content {
    position: relative;
    z-index: 3;
    padding: 50px 20px;
    min-height: 100vh;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease-in-out;
}

h1 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

.topics-container {
    list-style-type: none;
    padding: 0;
    margin: 20px auto;
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.topics-container::before {
    content: "9745745513";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 50px;
    color: rgba(0, 0, 0, 0.05);
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
}

.topics-container li {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topics-container li.visible {
    opacity: 1;
    transform: translateY(0);
}

.show-topic-buttons {
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
}

.whatsapp-logo {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    animation: bounce 2s infinite;
}

.whatsapp-logo img {
    width: 35px;
    height: 35px;
}

.contact-caption {
    position: fixed;
    bottom: 70px;
    right: 20px;
    color: #000000;
    font-size: 14px;
    text-align: center;
    z-index: 4;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 20px;
    position: relative;
}

#search-input {
    width: 200px;
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
    outline: none;
    font-size: 14px;
    background-color: #ffffff;
    color: #000000;
}

#search-input::placeholder {
    font-style: italic;
    color: #999;
}

.search-container button {
    padding: 8px 12px;
    border: none;
    background-color: #ff0000;
    color: white;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 14px;
    margin-left: -5px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, transform 0.3s;
}

.search-container button i {
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.search-container button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: #007bff;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform 0.5s;
    z-index: 0;
}

.search-container button:hover::before {
    transform: translate(-50%, -50%) rotate(0deg);
}

.search-container button:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

.refresh-container {
    position: fixed;
    top: 50%;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    transform: translateY(-50%);
}

#refresh-button {
    padding: 10px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#refresh-button i {
    font-size: 20px;
}

#refresh-button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.refresh-caption {
    margin-top: 5px;
    color: #000000;
    font-size: 14px;
    text-align: center;
}

.robot-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    z-index: 1000;
    pointer-events: none;
}

.robot {
    width: 100px;
    height: auto;
}

.robot-messages {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin-left: 10px;
    position: relative;
    width: 300px;
    height: 30px;
    overflow: hidden;
}

.message-wrapper {
    display: flex;
    flex-direction: column;
    animation: scrollMessages 30s linear infinite;
}

.message {
    margin: 0;
    white-space: nowrap;
    height: 30px;
    display: flex;
    align-items: center;
}

@keyframes scrollMessages {
    0% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-30px);
    }
    40% {
        transform: translateY(-60px);
    }
    60% {
        transform: translateY(-90px);
    }
    80% {
        transform: translateY(-120px);
    }
    100% {
        transform: translateY(-150px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center; /* Center align text */
}

.ad-image {
    width: 70%; /* Set the width of the image to 50% of the container */
    height: auto;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#popup-modal .whatsapp-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    margin: 10px 0;
    color: #fff;
    background-color: #25d366;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

#popup-modal .whatsapp-link i {
    margin-right: 8px;
    font-size: 20px;
}

#popup-modal .whatsapp-link:hover {
    background-color: #1da851;
}

.close {
    color: #ff0000;
    float: right;
    font-size: 18px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#copy-button, #abstract-button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#copy-button {
    background-color: #28a745;
    color: white;
}

#abstract-button {
    background-color: #ff0000;
    color: white;
}

#copy-button:hover {
    background-color: #218838;
}

#abstract-button:hover {
    background-color: #0056b3;
}


.bookmark-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s;
}

.bookmark-button.selected {
    background-color: #28a745;
}

.bookmark-button:hover {
    background-color: #0056b3;
}

#show-bookmarks-button {
    background-color: #ffc107;
    color: black;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    margin: 20px 0;
    transition: background-color 0.3s;
}

#show-bookmarks-button:hover {
    background-color: #e0a800;
}

.message-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    z-index: 1000;
}

#ok-button {
    background-color: #ffc107;
    color: black;
}

#ok-button:hover {
    background-color: #e0a800;
}
